package e;

import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;

public class T1 {
	public static void main(String[] args) {
		File file = new File("T1.txt");
		byte[] b = "我爱学 java!".getBytes();
		try {
			FileOutputStream out = new FileOutputStream(file);
			out.write(b);
			out.close();
		}catch(IOException e) {
			System.out.println(e);
		}
	}

}
